<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="<?php echo $_REQUEST['charset']?>">
<title>相册管理</title>
    <?php
    echo getCommon();
    echo getPageCss("album/css/albumManage.css");
    echo getPlug(array(
            "belatedPNG",
            "uiDialog",
            "wdatePicker",
            "AjaxFileUploader"
    ));
    ?>
</head>

<body>
    <script type="text/javascript">
    var photosJson = <?php echo $_REQUEST['photosJson']?>;
    var pageInfoJson = <?php echo $_REQUEST['pageInfoJson']?>;
    var globalUrl = '<?php echo SITE_GLOBAL_URL?>';
    </script>
	<form name="parameters">
		<input type="hidden" name="currentPage" value="1" />
		<input type="hidden" name="albumId" value="<?php echo $_REQUEST['albumId']?>" />
	</form>
	<div id="main">
		<div class="control">
			<form>
				<div class="btn addPhoto">增加</div>
				<div class="btn delbtn">删除</div>
				<div class="btn reloadbtn">刷新</div>
				<input type="text" id="d4313" name="photoCreateTimeStart"
					class="ins ins-calendar"
					onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'d4314\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
				<input type="text" id="d4314" name="photoCreateTimeEnd"
					class="ins ins-calendar"
					onFocus="WdatePicker({minDate:'#F{$dp.$D(\'d4313\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
				<input type="text" class="ins" name="keyWord"/> <input type="button"
					class="ins-go" value="查询" />
				<div class="page">
					<div class="page-num">
						<font>0/0</font>
						<div class="options"></div>
						<div class="arrow"></div>
					</div>
					<div class="page-btn pre">
						<div class="pre-ico"></div>
					</div>
					<div class="page-btn next">
						<div class="next-ico"></div>
					</div>
				</div>
			</form>
		</div>
		<div>
			<table cellspacing="0" cellpadding="0" class="tb-table">
				<tbody>
					<tr class="tb-table-title">
						<td style="width: 35px;"><span><input type="checkbox" class="allCheckbox"/></span></td>
						<td colspan="4" sortname="createTime"><span>创建时间</span></td>
					</tr>
					<tr>
						<td colspan="5">
						  <div id="photo-content">
						      <!-- <div class="photo-frame">
						          <div class="img"></div>
						          <div class="row">
						              <a>复制地址:</a>
						              <input type="text" class="url">
						          </div>
						          <div class="s-row">
						              <input class="checkbox" type="checkbox"/>
						              <span>这里是标题美女图片一</span>
						          </div>
						          <div class="s-row">
						              <a class="icon del-icon">删除</a>
						              <a class="icon upload-icon">重传</a>
						              <a class="icon download-icon">下载</a>
						          </div>
						      </div> -->
						      <div class="auto-height"></div>
						  </div>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="quick">
			选择：<a href="#">全部</a>
		</div>
		<div class="control">
			<div class="btn addPhoto">增加</div>
			<div class="btn delbtn">删除</div>
			<div class="btn reloadbtn">刷新</div>
			<input type="text" id="d4311" name="photoCreateTimeStart"
				class="ins ins-calendar"
				onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'d4312\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
			<input type="text" id="d4312" name="photoCreateTimeEnd"
				class="ins ins-calendar"
				onFocus="WdatePicker({minDate:'#F{$dp.$D(\'d4311\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
			<input type="text" class="ins" name="keyWord" /> <input type="button"
				class="ins-go" value="查询" />
			<div class="page">
				<div class="page-num bottom">
					<font>0/0</font>
					<div class="options"></div>
					<div class="arrow"></div>
				</div>
				<div class="page-btn pre">
					<div class="pre-ico"></div>
				</div>
				<div class="page-btn next">
					<div class="next-ico"></div>
				</div>
			</div>
		</div>
		<div class="bg"></div>
	</div>
	
	<!--添加相册-->
	<div class="ui-msgbox-normal" id="addAlbumDiv">
		<form>
            <div class="img">
                
            </div>
            <div class="rows">
                <div class="row">
                    <div class="title">标题:</div>
                    <div class="input-frame">
                        <input type="text" name="albumTitle"/>
                    </div>
                </div>
                <div class="row">
                    <div class="title">图片:</div>
                    <div class="input-frame">
                        <input type="file" name="imageToUpload" class="fileUpload" id="imageToUpload"/>
                    </div>
                </div>
                <div class="row">
                    <input type="button" name="upload" class="upload" />
                </div>
            </div>
    		<div class="auto-height"></div>
		</form>
	</div>
	<?php echo getPageJs("album/albumManage.js");?>
</body>
</html>
